<template>
	<view class="success">
		<image src="https://master.shengejiaju.cn/web/static/icons/ico_successed.png"></image>
		<view class="success-tit">提现申请成功！</view>
		<view class="success-sub">请耐心等待审核，需1-7个工作日，审核通过后打款，可在“提现-提现历史”中查看状态</view>
		<view class="success-money">
			<view>提现金额：</view>
			<text>¥<text>{{money}}</text></text>
		</view>
		<view class="success-btn" @click="back">返回</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				money: 0
			};
		},
		onLoad(options) {
			if(options.money){
				this.money = options.money
			}
		},
		methods: {
			back(){
				uni.navigateBack({
					delta: 2
				})
			}
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #FFF;
	}
	.success{
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		text-align: center;
		padding: 100rpx 120rpx 0;
		image{
			width: 100rpx;
			height: 100rpx;
		}
		.success-tit{
			margin: 40rpx 0;
			font-size: 36rpx;
			font-weight: bold;
		}
		.success-sub{
			font-size: 26rpx;
			color: #999;
			line-height: 60rpx;
		}
		.success-money{
			padding-top: 140rpx;
			view{
				font-size: 26rpx;
				color: #999;
			}
			text{
				font-size: 36rpx;
				text{
					font-size: 72rpx;
				}
			}
		}
		.success-btn{
			position: absolute;
			height: 88rpx;
			line-height: 88rpx;
			bottom: 110rpx;
			left: 50%;
			width: 300rpx;
			transform: translateX(-50%);
			font-size: 34rpx;
			color: #2073F5;
			border: solid 2rpx #2073F5;
			border-radius: 100rpx;
		}
	}
</style>